﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HeightWidth.aspx.cs" Inherits="Microsoft.Live.ServerControls.Web.HeightWidth" %>

<%@ Register Assembly="Microsoft.Live.ServerControls.VE" Namespace="Microsoft.Live.ServerControls.VE"
    TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>    
    <div>
        <cc1:Map ID="Map1" runat="server" Height="489px" Width="580px" ZoomLevel="4">
<Center Altitude="0" AltitudeMode="Default" Latitude="40" Longitude="-104"></Center>
        </cc1:Map> 
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                Height: <asp:TextBox ID="txtNewHeight" runat="server"></asp:TextBox><br />
                Width: <asp:TextBox ID="txtNewWidth" runat="server"></asp:TextBox><br />
                <asp:Button ID="ButtonResize" runat="server" Text="ResizeMap" 
                    onclick="ButtonResize_Click" /><br />
                <asp:Label ID="LblPrev" runat="server" Text="Previous Values"></asp:Label>
            </ContentTemplate>
        </asp:UpdatePanel> 
    </div>
    </form>
</body>
</html>
